var MusicSQL = {
    insert: 'INSERT INTO Music(name,artist,duration,music,poster,lyric, created_at, updated_at) VALUES(?,?,?,?,?,?,?,?)',
    update: 'update Music set name=?,artist=?,duration=?,music=?,poster=?,lyric=?, updated_at=? where id = ? ',
    queryOne: 'SELECT * FROM Music where id = ? ',
    queryAll: 'SELECT * FROM Music order by created_at desc',
    getById: 'SELECT * FROM Music WHERE id = ? ',
    deleteById: 'delete  FROM Music WHERE id = ? ',
};
module.exports = MusicSQL;